package com.kgc.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class TicketInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TicketInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTimeIsNull() {
            addCriterion("time is null");
            return (Criteria) this;
        }

        public Criteria andTimeIsNotNull() {
            addCriterion("time is not null");
            return (Criteria) this;
        }

        public Criteria andTimeEqualTo(String value) {
            addCriterion("time =", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotEqualTo(String value) {
            addCriterion("time <>", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThan(String value) {
            addCriterion("time >", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThanOrEqualTo(String value) {
            addCriterion("time >=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThan(String value) {
            addCriterion("time <", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThanOrEqualTo(String value) {
            addCriterion("time <=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLike(String value) {
            addCriterion("time like", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotLike(String value) {
            addCriterion("time not like", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeIn(List<String> values) {
            addCriterion("time in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotIn(List<String> values) {
            addCriterion("time not in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeBetween(String value1, String value2) {
            addCriterion("time between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotBetween(String value1, String value2) {
            addCriterion("time not between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andSeatnumIsNull() {
            addCriterion("seatNum is null");
            return (Criteria) this;
        }

        public Criteria andSeatnumIsNotNull() {
            addCriterion("seatNum is not null");
            return (Criteria) this;
        }

        public Criteria andSeatnumEqualTo(Integer value) {
            addCriterion("seatNum =", value, "seatnum");
            return (Criteria) this;
        }

        public Criteria andSeatnumNotEqualTo(Integer value) {
            addCriterion("seatNum <>", value, "seatnum");
            return (Criteria) this;
        }

        public Criteria andSeatnumGreaterThan(Integer value) {
            addCriterion("seatNum >", value, "seatnum");
            return (Criteria) this;
        }

        public Criteria andSeatnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("seatNum >=", value, "seatnum");
            return (Criteria) this;
        }

        public Criteria andSeatnumLessThan(Integer value) {
            addCriterion("seatNum <", value, "seatnum");
            return (Criteria) this;
        }

        public Criteria andSeatnumLessThanOrEqualTo(Integer value) {
            addCriterion("seatNum <=", value, "seatnum");
            return (Criteria) this;
        }

        public Criteria andSeatnumIn(List<Integer> values) {
            addCriterion("seatNum in", values, "seatnum");
            return (Criteria) this;
        }

        public Criteria andSeatnumNotIn(List<Integer> values) {
            addCriterion("seatNum not in", values, "seatnum");
            return (Criteria) this;
        }

        public Criteria andSeatnumBetween(Integer value1, Integer value2) {
            addCriterion("seatNum between", value1, value2, "seatnum");
            return (Criteria) this;
        }

        public Criteria andSeatnumNotBetween(Integer value1, Integer value2) {
            addCriterion("seatNum not between", value1, value2, "seatnum");
            return (Criteria) this;
        }

        public Criteria andCityidIsNull() {
            addCriterion("cityId is null");
            return (Criteria) this;
        }

        public Criteria andCityidIsNotNull() {
            addCriterion("cityId is not null");
            return (Criteria) this;
        }

        public Criteria andCityidEqualTo(Integer value) {
            addCriterion("cityId =", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidNotEqualTo(Integer value) {
            addCriterion("cityId <>", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidGreaterThan(Integer value) {
            addCriterion("cityId >", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidGreaterThanOrEqualTo(Integer value) {
            addCriterion("cityId >=", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidLessThan(Integer value) {
            addCriterion("cityId <", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidLessThanOrEqualTo(Integer value) {
            addCriterion("cityId <=", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidIn(List<Integer> values) {
            addCriterion("cityId in", values, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidNotIn(List<Integer> values) {
            addCriterion("cityId not in", values, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidBetween(Integer value1, Integer value2) {
            addCriterion("cityId between", value1, value2, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidNotBetween(Integer value1, Integer value2) {
            addCriterion("cityId not between", value1, value2, "cityid");
            return (Criteria) this;
        }

        public Criteria andTicketdateidIsNull() {
            addCriterion("ticketDateId is null");
            return (Criteria) this;
        }

        public Criteria andTicketdateidIsNotNull() {
            addCriterion("ticketDateId is not null");
            return (Criteria) this;
        }

        public Criteria andTicketdateidEqualTo(Integer value) {
            addCriterion("ticketDateId =", value, "ticketdateid");
            return (Criteria) this;
        }

        public Criteria andTicketdateidNotEqualTo(Integer value) {
            addCriterion("ticketDateId <>", value, "ticketdateid");
            return (Criteria) this;
        }

        public Criteria andTicketdateidGreaterThan(Integer value) {
            addCriterion("ticketDateId >", value, "ticketdateid");
            return (Criteria) this;
        }

        public Criteria andTicketdateidGreaterThanOrEqualTo(Integer value) {
            addCriterion("ticketDateId >=", value, "ticketdateid");
            return (Criteria) this;
        }

        public Criteria andTicketdateidLessThan(Integer value) {
            addCriterion("ticketDateId <", value, "ticketdateid");
            return (Criteria) this;
        }

        public Criteria andTicketdateidLessThanOrEqualTo(Integer value) {
            addCriterion("ticketDateId <=", value, "ticketdateid");
            return (Criteria) this;
        }

        public Criteria andTicketdateidIn(List<Integer> values) {
            addCriterion("ticketDateId in", values, "ticketdateid");
            return (Criteria) this;
        }

        public Criteria andTicketdateidNotIn(List<Integer> values) {
            addCriterion("ticketDateId not in", values, "ticketdateid");
            return (Criteria) this;
        }

        public Criteria andTicketdateidBetween(Integer value1, Integer value2) {
            addCriterion("ticketDateId between", value1, value2, "ticketdateid");
            return (Criteria) this;
        }

        public Criteria andTicketdateidNotBetween(Integer value1, Integer value2) {
            addCriterion("ticketDateId not between", value1, value2, "ticketdateid");
            return (Criteria) this;
        }

        public Criteria andHostaddressIsNull() {
            addCriterion("hostAddress is null");
            return (Criteria) this;
        }

        public Criteria andHostaddressIsNotNull() {
            addCriterion("hostAddress is not null");
            return (Criteria) this;
        }

        public Criteria andHostaddressEqualTo(String value) {
            addCriterion("hostAddress =", value, "hostaddress");
            return (Criteria) this;
        }

        public Criteria andHostaddressNotEqualTo(String value) {
            addCriterion("hostAddress <>", value, "hostaddress");
            return (Criteria) this;
        }

        public Criteria andHostaddressGreaterThan(String value) {
            addCriterion("hostAddress >", value, "hostaddress");
            return (Criteria) this;
        }

        public Criteria andHostaddressGreaterThanOrEqualTo(String value) {
            addCriterion("hostAddress >=", value, "hostaddress");
            return (Criteria) this;
        }

        public Criteria andHostaddressLessThan(String value) {
            addCriterion("hostAddress <", value, "hostaddress");
            return (Criteria) this;
        }

        public Criteria andHostaddressLessThanOrEqualTo(String value) {
            addCriterion("hostAddress <=", value, "hostaddress");
            return (Criteria) this;
        }

        public Criteria andHostaddressLike(String value) {
            addCriterion("hostAddress like", value, "hostaddress");
            return (Criteria) this;
        }

        public Criteria andHostaddressNotLike(String value) {
            addCriterion("hostAddress not like", value, "hostaddress");
            return (Criteria) this;
        }

        public Criteria andHostaddressIn(List<String> values) {
            addCriterion("hostAddress in", values, "hostaddress");
            return (Criteria) this;
        }

        public Criteria andHostaddressNotIn(List<String> values) {
            addCriterion("hostAddress not in", values, "hostaddress");
            return (Criteria) this;
        }

        public Criteria andHostaddressBetween(String value1, String value2) {
            addCriterion("hostAddress between", value1, value2, "hostaddress");
            return (Criteria) this;
        }

        public Criteria andHostaddressNotBetween(String value1, String value2) {
            addCriterion("hostAddress not between", value1, value2, "hostaddress");
            return (Criteria) this;
        }

        public Criteria andTickettypeidIsNull() {
            addCriterion("ticketTypeId is null");
            return (Criteria) this;
        }

        public Criteria andTickettypeidIsNotNull() {
            addCriterion("ticketTypeId is not null");
            return (Criteria) this;
        }

        public Criteria andTickettypeidEqualTo(Integer value) {
            addCriterion("ticketTypeId =", value, "tickettypeid");
            return (Criteria) this;
        }

        public Criteria andTickettypeidNotEqualTo(Integer value) {
            addCriterion("ticketTypeId <>", value, "tickettypeid");
            return (Criteria) this;
        }

        public Criteria andTickettypeidGreaterThan(Integer value) {
            addCriterion("ticketTypeId >", value, "tickettypeid");
            return (Criteria) this;
        }

        public Criteria andTickettypeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("ticketTypeId >=", value, "tickettypeid");
            return (Criteria) this;
        }

        public Criteria andTickettypeidLessThan(Integer value) {
            addCriterion("ticketTypeId <", value, "tickettypeid");
            return (Criteria) this;
        }

        public Criteria andTickettypeidLessThanOrEqualTo(Integer value) {
            addCriterion("ticketTypeId <=", value, "tickettypeid");
            return (Criteria) this;
        }

        public Criteria andTickettypeidIn(List<Integer> values) {
            addCriterion("ticketTypeId in", values, "tickettypeid");
            return (Criteria) this;
        }

        public Criteria andTickettypeidNotIn(List<Integer> values) {
            addCriterion("ticketTypeId not in", values, "tickettypeid");
            return (Criteria) this;
        }

        public Criteria andTickettypeidBetween(Integer value1, Integer value2) {
            addCriterion("ticketTypeId between", value1, value2, "tickettypeid");
            return (Criteria) this;
        }

        public Criteria andTickettypeidNotBetween(Integer value1, Integer value2) {
            addCriterion("ticketTypeId not between", value1, value2, "tickettypeid");
            return (Criteria) this;
        }

        public Criteria andPicpathIsNull() {
            addCriterion("picPath is null");
            return (Criteria) this;
        }

        public Criteria andPicpathIsNotNull() {
            addCriterion("picPath is not null");
            return (Criteria) this;
        }

        public Criteria andPicpathEqualTo(String value) {
            addCriterion("picPath =", value, "picpath");
            return (Criteria) this;
        }

        public Criteria andPicpathNotEqualTo(String value) {
            addCriterion("picPath <>", value, "picpath");
            return (Criteria) this;
        }

        public Criteria andPicpathGreaterThan(String value) {
            addCriterion("picPath >", value, "picpath");
            return (Criteria) this;
        }

        public Criteria andPicpathGreaterThanOrEqualTo(String value) {
            addCriterion("picPath >=", value, "picpath");
            return (Criteria) this;
        }

        public Criteria andPicpathLessThan(String value) {
            addCriterion("picPath <", value, "picpath");
            return (Criteria) this;
        }

        public Criteria andPicpathLessThanOrEqualTo(String value) {
            addCriterion("picPath <=", value, "picpath");
            return (Criteria) this;
        }

        public Criteria andPicpathLike(String value) {
            addCriterion("picPath like", value, "picpath");
            return (Criteria) this;
        }

        public Criteria andPicpathNotLike(String value) {
            addCriterion("picPath not like", value, "picpath");
            return (Criteria) this;
        }

        public Criteria andPicpathIn(List<String> values) {
            addCriterion("picPath in", values, "picpath");
            return (Criteria) this;
        }

        public Criteria andPicpathNotIn(List<String> values) {
            addCriterion("picPath not in", values, "picpath");
            return (Criteria) this;
        }

        public Criteria andPicpathBetween(String value1, String value2) {
            addCriterion("picPath between", value1, value2, "picpath");
            return (Criteria) this;
        }

        public Criteria andPicpathNotBetween(String value1, String value2) {
            addCriterion("picPath not between", value1, value2, "picpath");
            return (Criteria) this;
        }

        public Criteria andTicketfileidIsNull() {
            addCriterion("ticketfileId is null");
            return (Criteria) this;
        }

        public Criteria andTicketfileidIsNotNull() {
            addCriterion("ticketfileId is not null");
            return (Criteria) this;
        }

        public Criteria andTicketfileidEqualTo(Integer value) {
            addCriterion("ticketfileId =", value, "ticketfileid");
            return (Criteria) this;
        }

        public Criteria andTicketfileidNotEqualTo(Integer value) {
            addCriterion("ticketfileId <>", value, "ticketfileid");
            return (Criteria) this;
        }

        public Criteria andTicketfileidGreaterThan(Integer value) {
            addCriterion("ticketfileId >", value, "ticketfileid");
            return (Criteria) this;
        }

        public Criteria andTicketfileidGreaterThanOrEqualTo(Integer value) {
            addCriterion("ticketfileId >=", value, "ticketfileid");
            return (Criteria) this;
        }

        public Criteria andTicketfileidLessThan(Integer value) {
            addCriterion("ticketfileId <", value, "ticketfileid");
            return (Criteria) this;
        }

        public Criteria andTicketfileidLessThanOrEqualTo(Integer value) {
            addCriterion("ticketfileId <=", value, "ticketfileid");
            return (Criteria) this;
        }

        public Criteria andTicketfileidIn(List<Integer> values) {
            addCriterion("ticketfileId in", values, "ticketfileid");
            return (Criteria) this;
        }

        public Criteria andTicketfileidNotIn(List<Integer> values) {
            addCriterion("ticketfileId not in", values, "ticketfileid");
            return (Criteria) this;
        }

        public Criteria andTicketfileidBetween(Integer value1, Integer value2) {
            addCriterion("ticketfileId between", value1, value2, "ticketfileid");
            return (Criteria) this;
        }

        public Criteria andTicketfileidNotBetween(Integer value1, Integer value2) {
            addCriterion("ticketfileId not between", value1, value2, "ticketfileid");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("userId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("userId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("userId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("userId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("userId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("userId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("userId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("userId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("userId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("userId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("userId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andPricerangeIsNull() {
            addCriterion("priceRange is null");
            return (Criteria) this;
        }

        public Criteria andPricerangeIsNotNull() {
            addCriterion("priceRange is not null");
            return (Criteria) this;
        }

        public Criteria andPricerangeEqualTo(String value) {
            addCriterion("priceRange =", value, "pricerange");
            return (Criteria) this;
        }

        public Criteria andPricerangeNotEqualTo(String value) {
            addCriterion("priceRange <>", value, "pricerange");
            return (Criteria) this;
        }

        public Criteria andPricerangeGreaterThan(String value) {
            addCriterion("priceRange >", value, "pricerange");
            return (Criteria) this;
        }

        public Criteria andPricerangeGreaterThanOrEqualTo(String value) {
            addCriterion("priceRange >=", value, "pricerange");
            return (Criteria) this;
        }

        public Criteria andPricerangeLessThan(String value) {
            addCriterion("priceRange <", value, "pricerange");
            return (Criteria) this;
        }

        public Criteria andPricerangeLessThanOrEqualTo(String value) {
            addCriterion("priceRange <=", value, "pricerange");
            return (Criteria) this;
        }

        public Criteria andPricerangeLike(String value) {
            addCriterion("priceRange like", value, "pricerange");
            return (Criteria) this;
        }

        public Criteria andPricerangeNotLike(String value) {
            addCriterion("priceRange not like", value, "pricerange");
            return (Criteria) this;
        }

        public Criteria andPricerangeIn(List<String> values) {
            addCriterion("priceRange in", values, "pricerange");
            return (Criteria) this;
        }

        public Criteria andPricerangeNotIn(List<String> values) {
            addCriterion("priceRange not in", values, "pricerange");
            return (Criteria) this;
        }

        public Criteria andPricerangeBetween(String value1, String value2) {
            addCriterion("priceRange between", value1, value2, "pricerange");
            return (Criteria) this;
        }

        public Criteria andPricerangeNotBetween(String value1, String value2) {
            addCriterion("priceRange not between", value1, value2, "pricerange");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andPerfomtypeidIsNull() {
            addCriterion("perfomTypeId is null");
            return (Criteria) this;
        }

        public Criteria andPerfomtypeidIsNotNull() {
            addCriterion("perfomTypeId is not null");
            return (Criteria) this;
        }

        public Criteria andPerfomtypeidEqualTo(Integer value) {
            addCriterion("perfomTypeId =", value, "perfomtypeid");
            return (Criteria) this;
        }

        public Criteria andPerfomtypeidNotEqualTo(Integer value) {
            addCriterion("perfomTypeId <>", value, "perfomtypeid");
            return (Criteria) this;
        }

        public Criteria andPerfomtypeidGreaterThan(Integer value) {
            addCriterion("perfomTypeId >", value, "perfomtypeid");
            return (Criteria) this;
        }

        public Criteria andPerfomtypeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("perfomTypeId >=", value, "perfomtypeid");
            return (Criteria) this;
        }

        public Criteria andPerfomtypeidLessThan(Integer value) {
            addCriterion("perfomTypeId <", value, "perfomtypeid");
            return (Criteria) this;
        }

        public Criteria andPerfomtypeidLessThanOrEqualTo(Integer value) {
            addCriterion("perfomTypeId <=", value, "perfomtypeid");
            return (Criteria) this;
        }

        public Criteria andPerfomtypeidIn(List<Integer> values) {
            addCriterion("perfomTypeId in", values, "perfomtypeid");
            return (Criteria) this;
        }

        public Criteria andPerfomtypeidNotIn(List<Integer> values) {
            addCriterion("perfomTypeId not in", values, "perfomtypeid");
            return (Criteria) this;
        }

        public Criteria andPerfomtypeidBetween(Integer value1, Integer value2) {
            addCriterion("perfomTypeId between", value1, value2, "perfomtypeid");
            return (Criteria) this;
        }

        public Criteria andPerfomtypeidNotBetween(Integer value1, Integer value2) {
            addCriterion("perfomTypeId not between", value1, value2, "perfomtypeid");
            return (Criteria) this;
        }

        public Criteria andPerformerIsNull() {
            addCriterion("performer is null");
            return (Criteria) this;
        }

        public Criteria andPerformerIsNotNull() {
            addCriterion("performer is not null");
            return (Criteria) this;
        }

        public Criteria andPerformerEqualTo(String value) {
            addCriterion("performer =", value, "performer");
            return (Criteria) this;
        }

        public Criteria andPerformerNotEqualTo(String value) {
            addCriterion("performer <>", value, "performer");
            return (Criteria) this;
        }

        public Criteria andPerformerGreaterThan(String value) {
            addCriterion("performer >", value, "performer");
            return (Criteria) this;
        }

        public Criteria andPerformerGreaterThanOrEqualTo(String value) {
            addCriterion("performer >=", value, "performer");
            return (Criteria) this;
        }

        public Criteria andPerformerLessThan(String value) {
            addCriterion("performer <", value, "performer");
            return (Criteria) this;
        }

        public Criteria andPerformerLessThanOrEqualTo(String value) {
            addCriterion("performer <=", value, "performer");
            return (Criteria) this;
        }

        public Criteria andPerformerLike(String value) {
            addCriterion("performer like", value, "performer");
            return (Criteria) this;
        }

        public Criteria andPerformerNotLike(String value) {
            addCriterion("performer not like", value, "performer");
            return (Criteria) this;
        }

        public Criteria andPerformerIn(List<String> values) {
            addCriterion("performer in", values, "performer");
            return (Criteria) this;
        }

        public Criteria andPerformerNotIn(List<String> values) {
            addCriterion("performer not in", values, "performer");
            return (Criteria) this;
        }

        public Criteria andPerformerBetween(String value1, String value2) {
            addCriterion("performer between", value1, value2, "performer");
            return (Criteria) this;
        }

        public Criteria andPerformerNotBetween(String value1, String value2) {
            addCriterion("performer not between", value1, value2, "performer");
            return (Criteria) this;
        }

        public Criteria andDateIsNull() {
            addCriterion("date is null");
            return (Criteria) this;
        }

        public Criteria andDateIsNotNull() {
            addCriterion("date is not null");
            return (Criteria) this;
        }

        public Criteria andDateEqualTo(Date value) {
            addCriterionForJDBCDate("date =", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("date <>", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThan(Date value) {
            addCriterionForJDBCDate("date >", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("date >=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThan(Date value) {
            addCriterionForJDBCDate("date <", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("date <=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateIn(List<Date> values) {
            addCriterionForJDBCDate("date in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("date not in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("date between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("date not between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andStartdateIsNull() {
            addCriterion("startDate is null");
            return (Criteria) this;
        }

        public Criteria andStartdateIsNotNull() {
            addCriterion("startDate is not null");
            return (Criteria) this;
        }

        public Criteria andStartdateEqualTo(Date value) {
            addCriterionForJDBCDate("startDate =", value, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateNotEqualTo(Date value) {
            addCriterionForJDBCDate("startDate <>", value, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateGreaterThan(Date value) {
            addCriterionForJDBCDate("startDate >", value, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("startDate >=", value, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateLessThan(Date value) {
            addCriterionForJDBCDate("startDate <", value, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("startDate <=", value, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateIn(List<Date> values) {
            addCriterionForJDBCDate("startDate in", values, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateNotIn(List<Date> values) {
            addCriterionForJDBCDate("startDate not in", values, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("startDate between", value1, value2, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("startDate not between", value1, value2, "startdate");
            return (Criteria) this;
        }

        public Criteria andEnddateIsNull() {
            addCriterion("endDate is null");
            return (Criteria) this;
        }

        public Criteria andEnddateIsNotNull() {
            addCriterion("endDate is not null");
            return (Criteria) this;
        }

        public Criteria andEnddateEqualTo(Date value) {
            addCriterionForJDBCDate("endDate =", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateNotEqualTo(Date value) {
            addCriterionForJDBCDate("endDate <>", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateGreaterThan(Date value) {
            addCriterionForJDBCDate("endDate >", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("endDate >=", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateLessThan(Date value) {
            addCriterionForJDBCDate("endDate <", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("endDate <=", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateIn(List<Date> values) {
            addCriterionForJDBCDate("endDate in", values, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateNotIn(List<Date> values) {
            addCriterionForJDBCDate("endDate not in", values, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("endDate between", value1, value2, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("endDate not between", value1, value2, "enddate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}